Utilities for the Web Security System

Description

Used to verify if the defined security tables can be found.

Discussion

The Utilities tool is used to verify that the database where web security data is stored can be reached using the defined connection.

The tool is found in the Web Security window. It can be opened from the Web Projects Control Panel via the Web Security toolbar button.

images/openUtilities.png
The Web Security Utilities Tool is opened by clicking 'Utilities' in the Web Security dialog.

If the security system connects to the SQL tables with Active Link tables, the utility has an option to Validate Field Maps. The action will verify if the field map saved in the Active Link tables map to the correct field names in the SQL table.

images/utilities.png

The option will only check a single table if one is selected. If a table is selected, the option Clear Selected will remove the selection and allow checking all tables.

The option Show Connection String will show the actual connection string used by a table if the table is selected. The normal configuration would have the same connection for all tables.

images/utilities_conn.png

Errors cannot be corrected if using Active Link tables, but the utility will show a message on close if any errors were found

Changes can be made and saved if the security system is using a DataLink file in place of Active Link tables. The option to Show Connection String is still shown, but the option to Validate Field Maps will open a genie to remap the fields if any errors were found in the existing map. The genie will only allow selecting fields that are of the correct data type and length.

images/utilities_tableNotFound.png

The Change Connection String option can be used to change the connection string. When clicked, a list of available connections is shown. Connections for all tables can be changed. The utility will check if the current tables exist in the new connection and will run the validation option if tables with the same names are found.

The Select New Table can be used to change the SQL Table used for storing web security values. Clicking the option will display a list of tables available in the target database. When a table is selected, the field map validation will run to allow remapping the fields as needed. Select New Table can also be used create a new, empty table in the target database.

images/utilities_selectTable.png

Changes can be saved by the Save Changes button, which is enabled when any changes are made.